package com.lwc.cfdns.pojo.dto.system;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;

/**
 * 数据权限表单
 *
 * @author luwc
 * @title RoleDataScopeDTO
 * @description
 * @time 2023/5/30 10:15:57
 * @version: 1.0
 */
@Data
public class RoleDataScopeDTO {
    @NotNull(message = "角色ID不能为空")
    private Long id;
    @NotBlank(message = "权限范围不能为空")
    private String dataScope;
    private Integer deptCheckStrictly;// 部门树选择项是否关联显示
    private List<Long> deptIds = new ArrayList<>();
}
